<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork" %>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal table-form"  id="orguser_form" action="dirOrgUserMini.action"  onsubmit="return $action.query(this)">
	<input type="hidden" name="orgId" id="orgId" value="<ww:property value='orgId'/>">
	<input type="hidden" name="userIdList" id="userIdList" value="<ww:property value='userIdList'/>">
	<input type="hidden" name="ids" id="ids" value="<ww:property value='userIdList'/>">
	<input type="hidden" name="page.orderFlag" id="page.orderFlag" value="<ww:property value='page.orderFlag'/>" class="order-flag"> 
	<input type="hidden" name="page.orderString" id="page.orderString" value="<ww:property value='page.orderString'/>" class="order-string">
	<input type="hidden" name="page.pageSize" class="page-size" value="<ww:property value='page.pageSize'/>">
	<input type="hidden" name="page.totalPages" class="page-count" value="<ww:property value='page.totalPages'/>">
	<input type="hidden" name="page.currentPage" class="page-current" value="<ww:property value='page.currentPage'/>">
	<div class="table-header">
		<div class="table-search">
			<ul>
				<li><input type="text" id="userName" name="userName"  class="input-medium" maxlength="20"  placeholder="请输入登录名或真实姓名" value="<ww:property value='userName'/>"></li>
				<li>
				 <ww:button css="btn green" caption="查询" funcode="acl_org/dirOrgUserMini" type="submit"></ww:button>
				</li>
			</ul>
		</div>
		<div class="table-btn">
			<div class="btn-group">
			  <ww:link funcode="acl_org/getOrgUserTreeOrg" target="cssDialog" title="添加关联" css="btn" caption="添加" href="getOrgUserTreeOrg.action?orgId=%{orgId}&userIdList=%{userIdList}"></ww:link>	
			</div>
		</div>
	</div>
	<table class="table table-bordered">
		<thead>
			<tr>
			    <th width="25px"><input group="ids" type="checkbox" class="cleck-all" name="checkdelall" id="checkdelall"/></th>
				<th  >真实姓名</th>
				<th  >登录名称</th>
				<th  >所属机构</th>
				<th width="40px" >状态</th>
			</tr>
		</thead>
		<tbody>
		    <ww:iterator value="page.results" id="data"> 
			<tr>
				<td class="text-center"><input type="checkbox"  name="ids" id="ids" value="<ww:property value="uuid"/>"/></td>
				<td><ww:property value="realName"/></td>
				<td><ww:property value="loginName"/></td>
				<td><ww:property value="orgName"/></td>
				<td class="text-center"><ww:property value="#dictID.getDictType('d_security_Flag',openFlag).name"/></td>
			</tr>
			</ww:iterator>
		</tbody>
	</table>
	<div id="pageid" class="pagination"> <ww:property value="page.pageSplit"/></div>
</form>
